package com.example.kp.mci;

import android.app.Activity;
import android.content.Intent;

public class JavaScriptInterface {
	private Activity activity;
	
	public JavaScriptInterface(Activity activity){
		this.activity = activity;
	}
	
	public void onClicked(String id){
		//Log.d("CLICK", "clicked"+id);
		Intent detailIntent;
		detailIntent = new Intent(activity,DetailActivity.class);
		detailIntent.putExtra("id", id);
		activity.startActivity(detailIntent);
	}

}
